package com.atguigu.guli.service.sms.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author fenge
 */
@Data
@Component
//注意prefix要写到最后一个 "." 符号之前
@ConfigurationProperties(prefix="aliyun.sms")
public class SmsProperties {
    private String appSecret;//: Uj8S1bWW1SUtOeHHyuh7GHrkIN4xFg44
    private String appCode;//: b2cda636d53244dd962e4ea22f61d1be
    private String host;//: https://gyytz.market.alicloudapi.com
    private String path;//: /sms/smsSend
    private String method;//: POST
    private String smsSignId;//: 2e65b1bb3d054466b82f0c9d125465e2
    private String templateId;//: 908e94ccf08b4476ba6c876d13f084ad
}